# $Id: PKGBUILD 56466 2011-10-07 10:06:44Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-term-animation
pkgver=2.6
pkgrel=1
pkgdesc="Perl/CPAN Module Term::Animation"
arch=("any")
url="http://search.cpan.org/dist/Term-Animation"
license=("GPL" "PerlArtistic")
depends=("perl-curses")
source=("http://www.cpan.org/authors/id/K/KB/KBAUCOM/Term-Animation-$pkgver.tar.gz")
md5sums=('d22643b339495cfc0a4f0b405dbae1d1')

build() {
  cd $srcdir/Term-Animation-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
